<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 221 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts221p0{position:absolute;left:106px;top:97px;}
 .ts221p1{position:absolute;left:352px;top:97px;}
 .ts221p3{position:absolute;left:665px;top:97px;}
 .ts221p7{position:absolute;left:106px;top:113px;}
 .ts221p8{position:absolute;left:706px;top:1026px;}
 .ts221p9{position:absolute;left:331px;top:1044px;}
 .ts221p13{position:absolute;left:107px;top:146px;}
 .ts221p15{position:absolute;left:353px;top:146px;}
 .ts221p16{position:absolute;left:353px;top:164px;}
 .ts221p18{position:absolute;left:353px;top:182px;}
 .ts221p19{position:absolute;left:353px;top:200px;}
 .ts221p20{position:absolute;left:353px;top:219px;}
 .ts221p21{position:absolute;left:353px;top:237px;}
 .ts221p23{position:absolute;left:353px;top:255px;}
 .ts221p24{position:absolute;left:353px;top:273px;}
 .ts221p25{position:absolute;left:353px;top:292px;}
 .ts221p26{position:absolute;left:353px;top:310px;}
 .ts221p28{position:absolute;left:353px;top:328px;}
 .ts221p29{position:absolute;left:353px;top:347px;}
 .ts221p30{position:absolute;left:353px;top:365px;}
 .ts221p31{position:absolute;left:353px;top:384px;}
 .ts221p32{position:absolute;left:353px;top:402px;}
 .ts221p34{position:absolute;left:353px;top:420px;}
 .ts221p35{position:absolute;left:353px;top:439px;}
 .ts221p36{position:absolute;left:353px;top:457px;}
 .ts221p37{position:absolute;left:353px;top:476px;}
 .ts221p38{position:absolute;left:353px;top:494px;}
 .ts221p40{position:absolute;left:353px;top:512px;}
 .ts221p42{position:absolute;left:353px;top:531px;}
 .ts221p43{position:absolute;left:353px;top:549px;}
 .ts221p44{position:absolute;left:353px;top:568px;}
 .ts221p45{position:absolute;left:353px;top:586px;}
 .ts221p46{position:absolute;left:353px;top:604px;}
 .ts221p47{position:absolute;left:353px;top:623px;}
 .ts221p50{position:absolute;left:353px;top:641px;}
 .ts221p51{position:absolute;left:353px;top:660px;}
 .ts221p53{position:absolute;left:353px;top:678px;}
 .ts221p54{position:absolute;left:353px;top:696px;}
 .ts221p55{position:absolute;left:353px;top:715px;}
 .ts221p56{position:absolute;left:353px;top:733px;}
 .ts221p58{position:absolute;left:353px;top:751px;}
 .ts221p59{position:absolute;left:107px;top:771px;}
 .ts221p61{position:absolute;left:353px;top:771px;}
 .ts221p63{position:absolute;left:353px;top:789px;}
 .ts221p65{position:absolute;left:353px;top:807px;}
 .ts221p66{position:absolute;left:353px;top:826px;}
 .ts221p67{position:absolute;left:353px;top:844px;}
 .ts221p68{position:absolute;left:353px;top:862px;}
 .ts221p69{position:absolute;left:353px;top:881px;}
 .ts221p70{position:absolute;left:353px;top:899px;}
 .ts221p72{position:absolute;left:353px;top:918px;}
 .ts221p73{position:absolute;left:353px;top:936px;}
 .ts221p75{position:absolute;left:353px;top:954px;}

 /* Font Styles */
 .ft0p221{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p221{font-weight:normal;}
 .ft2p221{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p221{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p221{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p221{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft6p221{font-style:normal;font-weight:normal;font-size:16px;font-family:"courier new",courier,monospace;color:#000000;}

 /* Background Style */
 .styleBackground221{position:absolute;left:98px;top:769px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index220.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;221 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index222.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground221><img src="./background221.png" width="637" height="286" border="0" alt=""></div>
<div class=ts221p0><span class="ft0p221"> </span></div>
<div class=ts221p1><span class="ft0p221">Gravitybox Schedule Primer<span class="ft1p221"> </span></span></div>
<div class=ts221p3><span class="ft0p221">Page 219&nbsp; </span></div>
<div class=ts221p7><span class="ft2p221"> </span></div>
<div class=ts221p8><span class="ft3p221"> </span></div>
<div class=ts221p9><span class="ft4p221">1998&#45;2004 Gravitybox Software LLC<span class="ft3p221"> </span></span></div>
<div class=ts221p13><span class="ft5p221">BeforeMove </span></div>
<div class=ts221p15><span class="ft6p221">Event BeforeMove(oAppt As CScheduleEl, </span></div>
<div class=ts221p16><span class="ft6p221">lApptIndex As Long, lMode As </span></div>
<div class=ts221p18><span class="ft6p221">ViewModeConstants, NewDate As Date, </span></div>
<div class=ts221p19><span class="ft6p221">NewRoom As String, NewTime As Date, </span></div>
<div class=ts221p20><span class="ft6p221">NewMode As ViewModeConstants, DoPrompt </span></div>
<div class=ts221p21><span class="ft6p221">As Boolean, Cancel As Boolean) </span></div>
<div class=ts221p23><span class="ft5p221"> </span></div>
<div class=ts221p24><span class="ft5p221">BeforeMove is raised before the user drags a </span></div>
<div class=ts221p25><span class="ft5p221">ScheduleItem to a new location. This happens after </span></div>
<div class=ts221p26><span class="ft5p221">the user drops the item on its new location. The </span></div>
<div class=ts221p28><span class="ft5p221">event provides the appointment and its index in the </span></div>
<div class=ts221p29><span class="ft5p221">ScheduleItems collection. The NewDate, NewRoom, </span></div>
<div class=ts221p30><span class="ft5p221">and NewTime define the position of its new location. </span></div>
<div class=ts221p31><span class="ft5p221">Also there are two &#34;By Reference&#34; parameters that </span></div>
<div class=ts221p32><span class="ft5p221">allow you to send information back to the schedule. </span></div>
<div class=ts221p34><span class="ft5p221">&#34;DoPrompt&#34; allows you to display your own </span></div>
<div class=ts221p35><span class="ft5p221">confirmation by canceling the default prompt. If you </span></div>
<div class=ts221p36><span class="ft5p221">do this then the move will automatically be </span></div>
<div class=ts221p37><span class="ft5p221">confirmed, unless the &#34;Cancel &#34; parameter is set to </span></div>
<div class=ts221p38><span class="ft5p221">False. &#34;Cancel&#34; provides a way for you to cancel a </span></div>
<div class=ts221p40><span class="ft5p221">drag, if desired. </span></div>
<div class=ts221p42><span class="ft5p221"> </span></div>
<div class=ts221p43><span class="ft5p221">The OldMode and Newmode parameters determine </span></div>
<div class=ts221p44><span class="ft5p221">the ViewMode setting of source schedule (OldMode) </span></div>
<div class=ts221p45><span class="ft5p221">and the mode of the target schedule (NewMode). </span></div>
<div class=ts221p46><span class="ft5p221">This allows you cancel a copy between windows if </span></div>
<div class=ts221p47><span class="ft5p221">desired, for example if the modes do not match. </span></div>
<div class=ts221p50><span class="ft5p221"> </span></div>
<div class=ts221p51><span class="ft5p221">Note: </span></div>
<div class=ts221p53><span class="ft5p221">The &#34;lApptIndex&#34; parameter will be zero if the user is </span></div>
<div class=ts221p54><span class="ft5p221">dragging between schedule windows. This </span></div>
<div class=ts221p55><span class="ft5p221">parameter is only valid when a drag is started and </span></div>
<div class=ts221p56><span class="ft5p221">completed inside the same schedule window. </span></div>
<div class=ts221p58><span class="ft5p221"> </span></div>
<div class=ts221p59><span class="ft5p221">BeforeRowResize </span></div>
<div class=ts221p61><span class="ft6p221">Event BeforeRowResize(Cancel As </span></div>
<div class=ts221p63><span class="ft6p221">Boolean) </span></div>
<div class=ts221p65><span class="ft5p221"> </span></div>
<div class=ts221p66><span class="ft5p221">This event is raised before a user resizes the rows. If </span></div>
<div class=ts221p67><span class="ft5p221">the AllowRowResizing property is set, then the user </span></div>
<div class=ts221p68><span class="ft5p221">can use the mouse to grab the edge of a row and </span></div>
<div class=ts221p69><span class="ft5p221">resize it. All rows are the same width, so resizing </span></div>
<div class=ts221p70><span class="ft5p221">one applies to all rows. The &#34;Cancel&#34; parameter </span></div>
<div class=ts221p72><span class="ft5p221">allows you cancel this operation before it gets </span></div>
<div class=ts221p73><span class="ft5p221">started. </span></div>
<div class=ts221p75><span class="ft5p221"> </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
